package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.errorprone.annotations.NoAllocation;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "预约信息")
public class ReservationDto {
    /**
     * 预约人姓名
     */
    private String name;
    /**
     * 预约人手机号
     */
    private String mobile;
    /**
     * 预约时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;
    /**
     * 预约人家人名
     */
    private String visitor;
    /**
     * 预约类型
     */
    private Integer type;
}
